package com.itheima.service;

import com.itheima.domain.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll(String pageNum);

    boolean add(Permission permission);

    Permission findById(String id);

    boolean edit(Permission permission);

    boolean deleteByIds(String[] id);

    List<Permission> list();
}
